package com.css.fxfzypg.modules.baseData.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * sys_
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GasstationData implements Serializable {
    private Integer gsId;
    @Excel(name = "经度")
    private Float gsLongitude;
    @Excel(name = "纬度")
    private Float gsLatitude;
    @Excel(name = "名称")
    private String gsName;
    @Excel(name = "地址")
    private String gsAddress;
    @Excel(name = "规模")
    private String gsScale;
    @Excel(name = "风险等级")
    private String gsRiskgrade;

    private String gsStatus;

    private Date gsUpdatetime;

    private Date gsCreatetime;

    private String province;//省
    private String city;//市
    private String county;//区县
    private String fileUuid;//文件UUID
    private String geomText;//空间数据解析字符串
    private String id;//主键ID
    /*是否重点隐患*/
    private String sfzdyh;//1(是)、0(否)

    private static final long serialVersionUID = 1L;

    /*public Integer getGsId() {
        return gsId;
    }

    public void setGsId(Integer gsId) {
        this.gsId = gsId;
    }

    public Float getGsLongitude() {
        return gsLongitude;
    }

    public void setGsLongitude(Float gsLongitude) {
        this.gsLongitude = gsLongitude;
    }

    public Float getGsLatitude() {
        return gsLatitude;
    }

    public void setGsLatitude(Float gsLatitude) {
        this.gsLatitude = gsLatitude;
    }

    public String getGsName() {
        return gsName;
    }

    public void setGsName(String gsName) {
        this.gsName = gsName;
    }

    public String getGsAddress() {
        return gsAddress;
    }

    public void setGsAddress(String gsAddress) {
        this.gsAddress = gsAddress;
    }

    public String getGsScale() {
        return gsScale;
    }

    public void setGsScale(String gsScale) {
        this.gsScale = gsScale;
    }

    public String getGsRiskgrade() {
        return gsRiskgrade;
    }

    public void setGsRiskgrade(String gsRiskgrade) {
        this.gsRiskgrade = gsRiskgrade;
    }

    public String getGsStatus() {
        return gsStatus;
    }

    public void setGsStatus(String gsStatus) {
        this.gsStatus = gsStatus;
    }

    public Date getGsUpdatetime() {
        return gsUpdatetime;
    }

    public void setGsUpdatetime(Date gsUpdatetime) {
        this.gsUpdatetime = gsUpdatetime;
    }

    public Date getGsCreatetime() {
        return gsCreatetime;
    }

    public void setGsCreatetime(Date gsCreatetime) {
        this.gsCreatetime = gsCreatetime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        GasstationData other = (GasstationData) that;
        return (this.getGsId() == null ? other.getGsId() == null : this.getGsId().equals(other.getGsId()))
            && (this.getGsLongitude() == null ? other.getGsLongitude() == null : this.getGsLongitude().equals(other.getGsLongitude()))
            && (this.getGsLatitude() == null ? other.getGsLatitude() == null : this.getGsLatitude().equals(other.getGsLatitude()))
            && (this.getGsName() == null ? other.getGsName() == null : this.getGsName().equals(other.getGsName()))
            && (this.getGsAddress() == null ? other.getGsAddress() == null : this.getGsAddress().equals(other.getGsAddress()))
            && (this.getGsScale() == null ? other.getGsScale() == null : this.getGsScale().equals(other.getGsScale()))
            && (this.getGsRiskgrade() == null ? other.getGsRiskgrade() == null : this.getGsRiskgrade().equals(other.getGsRiskgrade()))
            && (this.getGsStatus() == null ? other.getGsStatus() == null : this.getGsStatus().equals(other.getGsStatus()))
            && (this.getGsUpdatetime() == null ? other.getGsUpdatetime() == null : this.getGsUpdatetime().equals(other.getGsUpdatetime()))
            && (this.getGsCreatetime() == null ? other.getGsCreatetime() == null : this.getGsCreatetime().equals(other.getGsCreatetime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getGsId() == null) ? 0 : getGsId().hashCode());
        result = prime * result + ((getGsLongitude() == null) ? 0 : getGsLongitude().hashCode());
        result = prime * result + ((getGsLatitude() == null) ? 0 : getGsLatitude().hashCode());
        result = prime * result + ((getGsName() == null) ? 0 : getGsName().hashCode());
        result = prime * result + ((getGsAddress() == null) ? 0 : getGsAddress().hashCode());
        result = prime * result + ((getGsScale() == null) ? 0 : getGsScale().hashCode());
        result = prime * result + ((getGsRiskgrade() == null) ? 0 : getGsRiskgrade().hashCode());
        result = prime * result + ((getGsStatus() == null) ? 0 : getGsStatus().hashCode());
        result = prime * result + ((getGsUpdatetime() == null) ? 0 : getGsUpdatetime().hashCode());
        result = prime * result + ((getGsCreatetime() == null) ? 0 : getGsCreatetime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", gsId=").append(gsId);
        sb.append(", gsLongitude=").append(gsLongitude);
        sb.append(", gsLatitude=").append(gsLatitude);
        sb.append(", gsName=").append(gsName);
        sb.append(", gsAddress=").append(gsAddress);
        sb.append(", gsScale=").append(gsScale);
        sb.append(", gsRiskgrade=").append(gsRiskgrade);
        sb.append(", gsStatus=").append(gsStatus);
        sb.append(", gsUpdatetime=").append(gsUpdatetime);
        sb.append(", gsCreatetime=").append(gsCreatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }*/
}